/*
 * @description:
 * @version: 1.0.1
 * @Author: xuqiulin
 * @Date: 2021-04-30 15:28:13
 * @LastEditors: Please set LastEditors
 * @LastEditTime: 2021-05-01 19:25:53
 */
package active_user

import (
	"GameServer/Game/active_user/internal"
	"GameServer/Game/m"
)

// 委托活动
var Module = internal.NewActiveUser()

// 玩家上线
func UserOnLine(u *m.User) {
	Module.UserOnLine(u)
}

// 玩家离线
func UserOffLine(u *m.User) {
	Module.UserOffLine(u)
}

func RecomFriend(u *m.User) (r []string) {
	r = Module.RecomFriend(u)
	return
}
